package com.tengju.bff.interfaces.covercharge.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.tengju.bff.interfaces.covercharge.entity.po.ServiceFrozenDetail;
import com.tengju.bff.interfaces.covercharge.entity.vo.AdminFrozenDetailQueryVo;
import com.tengju.bff.interfaces.covercharge.mapper.ServiceFrozenDetailMapper;
import com.tengju.bff.interfaces.covercharge.service.IServiceFrozenDetailService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 服务费冻结记录表 服务实现类
 * </p>
 *
 * @author zhaoyi
 * @since 2020-02-27
 */
@Service
public class ServiceFrozenDetailServiceImpl extends ServiceImpl<ServiceFrozenDetailMapper, ServiceFrozenDetail> implements IServiceFrozenDetailService {

    @Autowired
    private ServiceFrozenDetailMapper serviceFrozenDetailMapper;

    @Override
    public Page<AdminFrozenDetailQueryVo> queryPageByIdCode(Page page, String idCode, String startDate, String endDate) {
        page.setRecords(serviceFrozenDetailMapper.queryPageByIdCode(page,idCode,startDate,endDate));
        return page;
    }

}
